﻿using SqlSugar;
using System;

namespace NetCore.Model.Enity
{
    /// <summary>
    ///
    ///</summary>
    [SugarTable("sys_user")]
    public class SysUser
    {
        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "User_Id", IsPrimaryKey = true, IsIdentity = true)]
        public int UserId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Address")]
        public string Address { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "AppType")]
        public int? AppType { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "AuditDate")]
        public DateTime? AuditDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "AuditStatus")]
        public int? AuditStatus { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Auditor")]
        public string Auditor { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public DateTime? CreateDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CreateID")]
        public int? CreateID { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Creator")]
        public string Creator { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "DeptName")]
        public string DeptName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Dept_Id")]
        public int? DeptId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Email")]
        public string Email { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Enable")]
        public byte Enable { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Gender")]
        public int? Gender { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "HeadImageUrl")]
        public string HeadImageUrl { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "IsRegregisterPhone")]
        public int IsRegregisterPhone { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "LastLoginDate")]
        public DateTime? LastLoginDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "LastModifyPwdDate")]
        public DateTime? LastModifyPwdDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Mobile")]
        public string Mobile { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Modifier")]
        public string Modifier { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ModifyDate")]
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ModifyID")]
        public int? ModifyID { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "OrderNo")]
        public int? OrderNo { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Role_Id")]
        public int RoleId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "RoleName")]
        public string RoleName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PhoneNo")]
        public string PhoneNo { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Remark")]
        public string Remark { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Tel")]
        public string Tel { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "UserName")]
        public string UserName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "UserPwd")]
        public string UserPwd { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "UserTrueName")]
        public string UserTrueName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Token")]
        public string Token { get; set; }

        /// <summary>
        /// 工号
        ///</summary>
        [SugarColumn(ColumnName = "JobNumber")]
        public string JobNumber { get; set; }
    }
}